package com.ruoyi.merchant.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 表 mp_merchant
 * 
 * @author ruoyi
 * @date 2019-05-06
 */
public class MpMerchant extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 标识 */
	private Long id;
	/** 名称 */
	@Excel(name = "名称")
	private String name;
	/** 编码 */
	@Excel(name = "编码")
	private String code;
	/** 状态 */
	@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
	private Integer status;
	/** 用户标识 */
    @Excel(name = "用户标识")
	private Integer userId;
	/** 联系人名称 */
	@Excel(name = "联系人名称")
	private String contactName;
	/** 联系人电话 */
	@Excel(name = "联系人电话")
	private String contactPhone;
	/** 联系人邮箱 */
	@Excel(name = "联系人邮箱")
	private String contactEmail;
	/** 商户密钥 */
	@Excel(name = "商户密钥")
	private String secretKey;
	/* 提款密码 */
	private String withdrawalPassword;
	/* 谷歌验证秘钥 */
	private String googleSecret;

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId()
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public void setContactName(String contactName)
	{
		this.contactName = contactName;
	}

	public String getContactName() 
	{
		return contactName;
	}
	public void setContactPhone(String contactPhone) 
	{
		this.contactPhone = contactPhone;
	}

	public String getContactPhone() 
	{
		return contactPhone;
	}
	public void setContactEmail(String contactEmail) 
	{
		this.contactEmail = contactEmail;
	}

	public String getContactEmail() 
	{
		return contactEmail;
	}
	public void setSecretKey(String secretKey) 
	{
		this.secretKey = secretKey;
	}

	public String getSecretKey() 
	{
		return secretKey;
	}


	public String getWithdrawalPassword() {
		return withdrawalPassword;
	}

	public void setWithdrawalPassword(String withdrawalPassword) {
		this.withdrawalPassword = withdrawalPassword;
	}

	public String getGoogleSecret() {
		return googleSecret;
	}

	public void setGoogleSecret(String googleSecret) {
		this.googleSecret = googleSecret;
	}

	@Override
	public String toString() {
		return "MpMerchant{" +
				"id=" + id +
				", name='" + name + '\'' +
				", code='" + code + '\'' +
				", status=" + status +
				", userId=" + userId +
				", contactName='" + contactName + '\'' +
				", contactPhone='" + contactPhone + '\'' +
				", contactEmail='" + contactEmail + '\'' +
				", secretKey='" + secretKey + '\'' +
				", withdrawalPassword='" + withdrawalPassword + '\'' +
				", googleSecret='" + googleSecret + '\'' +
				'}';
	}
}
